﻿<phone:PhoneApplicationPage 
    x:Class="MP3tunes.LockerPlayer.Pages.SettingsManager"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource BaseForeground}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480"
 Background="Black"
    shell:SystemTray.IsVisible="False">

    <Grid x:Name="LayoutRoot" Background="{StaticResource DefaultBackground}" >
     
        <Grid.RowDefinitions>
            <RowDefinition Height="100"/>
            <RowDefinition Height="*"/>
           
            <RowDefinition Height="70"/>
        </Grid.RowDefinitions>
        <Grid Grid.Row="0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="120"/>
                <ColumnDefinition Width="*"/>

            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="100"/>

            </Grid.RowDefinitions>
            <Image Source="/MP3tunes.LockerPlayer;component/Images/MP3tunes2.png" Width="120" VerticalAlignment="Top" HorizontalAlignment="Center" Grid.Row="0" Grid.Column="0"></Image>
            <StackPanel Orientation="Vertical" Grid.Row="0" Grid.Column="1">
                <TextBlock Text="Locker Player" FontSize="45" Foreground="{StaticResource BaseForeground}"/>
                <TextBlock Text="Application Settings" FontSize="22" Foreground="{StaticResource BaseForeground}" />
            </StackPanel>

        </Grid>
        <Grid Grid.Row="1" Margin="5,0,0,5">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="280"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>

                <RowDefinition Height="85"/>
                <RowDefinition Height="85"/>
                <RowDefinition Height="85"/>
                <RowDefinition Height="85"/>
                <RowDefinition Height="85"/>
                <RowDefinition Height="85"/>
            </Grid.RowDefinitions>

            <TextBlock Margin="10,0,0,0" Text="Enable Push Notifications" TextWrapping="Wrap" Grid.Row="0" Grid.Column="0" Style="{StaticResource PhoneTextLargeStyle}" VerticalAlignment="Center" Foreground="{StaticResource BaseForeground}"/>
            <CheckBox Name="enablePNS"  Grid.Row="0" Grid.Column="1"  Background="LightGray" />
            <TextBlock Margin="10,0,0,0"  Text="Save Credentials" Grid.Row="1" Grid.Column="0" Style="{StaticResource PhoneTextLargeStyle}" VerticalAlignment="Center" Foreground="{StaticResource BaseForeground}"/>
            <CheckBox Name="saveCreds"  Grid.Row="1" Grid.Column="1"  Background="LightGray" IsChecked="True" />

            <TextBlock Margin="10,0,0,0"  Text="Suppress Push Notification Dialog" TextWrapping="Wrap" Grid.Row="2" Grid.Column="0" Style="{StaticResource PhoneTextLargeStyle}" VerticalAlignment="Center" Foreground="{StaticResource BaseForeground}"/>
            <CheckBox Name="enablePNSNot" Background="LightGray" Grid.Row="2" Grid.Column="1"  IsChecked="True" />

            <TextBlock Margin="10,0,0,0"  Text="Reset Credentials" Grid.Row="3" Grid.Column="0" Style="{StaticResource PhoneTextLargeStyle}" VerticalAlignment="Center" Foreground="{StaticResource BaseForeground}"/>

            <Button Name="resetBtn"  Grid.Row="3" Grid.Column="1"  Content="Reset"  Height="80" Click="resetBtn_Click" Style="{StaticResource MP3TunesButtonNormalStyle}" Foreground="White" >


            </Button>
            <TextBlock Margin="10,0,0,0"  Text="Save Changes" Grid.Row="4" Grid.Column="0" Style="{StaticResource PhoneTextLargeStyle}" VerticalAlignment="Center" Foreground="{StaticResource BaseForeground}"/>

            <Button Name="saveBtn" Grid.Row="4"  Foreground="White" Grid.Column="1" Content="Save"  Height="80" Style="{StaticResource MP3TunesButtonNormalStyle}" Click="saveBtn_Click">


            </Button>

        </Grid>



    </Grid>


</phone:PhoneApplicationPage>
